<template>
  <el-form :inline="true">
    <el-form-item
      v-for="(item,index) in formItems"
      :label="item.label"
      :key="index"
    >
      <el-input
        v-model="item.model"
        :placeholder="item.placeholder"

      />
    </el-form-item>
  </el-form>
</template>

<script>
export default {
  name: 'SearchForm',
  props: {
    formItems: {
      type: Array
    }
  },
  data() {
    return {

    }
  }
}
</script>

<style scoped>

</style>
